package com.lianjinsu.shop.entity.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@RequiredArgsConstructor(access = AccessLevel.PRIVATE)
public enum GoodsStatus implements IEnum<Integer> {

    ON_SHELF(1), OFF_SHELF(0);

    private final int status;

    @Override
    public Integer getValue() {
        return status;
    }
}
